Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(react-ui-core): add onSwipe* hooks and add --stackflow-swipe-back-ratio css var #548

Merged
merged 6 commits into from
Dec 18, 2024

Conversation

tonyfromundefined
Copy link
Member

No description provided.

Copy link

changeset-bot bot commented Dec 18, 2024

🦋 Changeset detected

Latest commit: a1b37eb

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages
Name Type
@stackflow/plugin-basic-ui Minor
@stackflow/react-ui-core Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link

vercel bot commented Dec 18, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
stackflow-docs ✅ Ready (Inspect) Visit Preview Dec 18, 2024 7:43am

Comment on lines 8 to 17
/**
* should be rendered in client-side only to avoid hydration mismatch warning
*/
...(mounted
? {
"data-stackflow-activity-id": activity?.id,
"data-stackflow-activity-is-active": activity?.isActive,
"data-stackflow-activity-transition-state": activity?.transitionState,
}
: null),
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hydration Mismatch를 피하기 위해 mounted 상태에서만 렌더링합니다

@tonyfromundefined tonyfromundefined merged commit dc35bfc into main Dec 18, 2024
4 checks passed
@tonyfromundefined tonyfromundefined deleted the add-on-swipe-hook branch December 18, 2024 07:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants